﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Painel_Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <link href="../css/estilo-corpo-painel.css" rel="stylesheet" type="text/css">
    <title>Painel Gerenciador de Conteúdo</title> 
    <Script src="../js/Funcoes.js" type="text/javascript"></Script>
    <Script src="../js/FuncoesAjax.js" type="text/javascript"></Script>
    <script src="../js/jquery.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="login">
        <asp:Image ID="imgLogo" runat="server" ImageAlign="Middle" 
        ImageUrl="~/images/logotipo_saber.png" />
        <h2>Dados de acesso</h2>
        <asp:Label ID="lblUsuario" runat="server" Text="Usu&aacute;rio"></asp:Label> 
        <br />
        <asp:TextBox ID="txtLogin" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
            ErrorMessage="*" ControlToValidate="txtLogin"
        Display="Dynamic" ForeColor="#FF6666"></asp:RequiredFieldValidator>
        <br /> <br />
        
        <asp:Label ID="lblSenha" runat="server" Text="Senha:"></asp:Label>
        <br />
        <asp:TextBox ID="txtSenha" runat="server" TextMode="Password"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
            ErrorMessage="*" ControlToValidate="txtSenha"
        Display="Dynamic" ForeColor="#FF6666"></asp:RequiredFieldValidator>
        
        <br />
        <asp:Label ID="lblErro" runat="server" Text="Usuário ou Senha Inválidos" 
        ForeColor="#FF6666" Visible="False"></asp:Label>
        <p align="right">
        <asp:LinkButton ID="hlkLogin" runat="server"  OnClick="hlkLogin_Click"  CssClass="tblBotao">Ok</asp:LinkButton>
        </p>
    </div>
    </form>
</body>
</html>
